Using tags

Use tags to group, find, and filter nodes in your project. You can assign multiple tags to a single node.

For example, you can use tags to:

Tagging a node

You can create a tag and tag a node in the Properties of that node.

To tag a node:

  1. In the Project select the node you want to tag.
  2. In the Properties:

Creating a tag without tagging a node

You can create a tag without tagging a node at the same time.

To create a tag without tagging a node:

  1. In the Library press Alt and right-click Tags and select Tag.
  2. Name the tag and click OK.
    Kanzi Studio creates the tag and lists it in the Library > Tags.

Finding tagged nodes with quick search in the Project

To find tagged nodes with quick search in the Project:

  1. Create a tag and assign it to nodes. See Using tags.
  2. In the Project in the quick search box enter the entire tag name you are looking for and press Enter.

Finding tagged nodes using the Find Project Item tool

To find tagged nodes using the Find Project Item tool:

  1. Create a tag and assign it to nodes. See Tagging a node.
  2. Select Edit > Find.
    The Find Project Item window opens.
  3. In the Advanced Search tab in the Criteria section click to add a new criterion and in the criterion:
    1. Select Has Property Value.
    2. Select the Tags property.
    3. Click the Tags button and select the tag you are looking for.
  4. Click Search.
    The Find Project Item shows all nodes with the tag you selected.

Using tags in the API

For details, see the Tag class in the API reference.

See also

Using the Tag Filter